package com.qiaofang.applet.service.property.service.mapstruct;

import com.qiaofang.applet.service.property.domain.EstatePhoto;
import com.qiaofang.applet.service.property.service.dto.EstateAlbumDto;
import com.qiaofang.applet.service.property.service.dto.EstateDetailsPhotoDto;
import com.qiaofang.applet.service.property.service.dto.HouseTypeDto;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

import java.util.List;

/**
 * @Author: youqing.yang
 * @Create: 2020/10/20 13:51
 * @Description:
 **/
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface EstatePhotoMapper {
    HouseTypeDto domainToDto(EstatePhoto estatePhoto);

    List<EstateDetailsPhotoDto> dtoListToDtoList(List<EstateAlbumDto> list);

}
